home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / misc / emu / iecutil.lha / inc / graphics / clip.h next >
Encoding:
Text File  |  1997-05-06  |  1.4 KB  |  47 lines

  1. {$ifndef GRAPHICS_CLIP_H}
  2. Const GRAPHICS_CLIP_H = 0;
  3. {$ifndef GRAPHICS_GFX_H;incl"graphics/gfx.h";endif}
  4. {$ifndef EXEC_SEMAPHORES_H;incl"exec/semaphores.h";endif}
  5. Const NEWLOCKS = '?';
  6.       CR_NEEDS_NO_CONCEALED_RASTERS = 1;
  7.       ISLESSX = 1;
  8.       ISLESSY = 2;
  9.       ISGRTRX = 4;
  10.       ISGRTRY = 8;
  11. Type p_Layer = ^Layer;
  12.      p_ClipRect = ^ClipRect;
  13.      Layer = record
  14.                front, back: p_Layer;
  15.                ClipRect: p_ClipRect;
  16.                rp: Ptr;
  17.                bounds: Rectangle;
  18.                reserved: string[4];
  19.                priority, Flags: Word;
  20.                SuperBitMap: p_BitMap;
  21.                SuperClipRect: p_ClipRect;
  22.                Window: Ptr;
  23.                Scroll_X, Scroll_Y: integer;
  24.                cr, cr2, crnew: p_ClipRect;
  25.                SuperSaveClipRects: p_ClipRect;
  26.                _cliprects: p_ClipRect;
  27.                Layer_Info: Ptr;
  28.                Lock: SignalSemaphore;
  29.                reserved3: string[8];
  30.                ClipRegion: Ptr;
  31.                saveClipRects: Ptr;
  32.                reserved2: string[22];
  33.                DamageList: Ptr
  34.              end;
  35.      ClipRect = record
  36.                   Next, prev: p_ClipRect;
  37.                   lobs: p_Layer;
  38.                   BitMap: p_BitMap;
  39.                   bounds: RectAngle;
  40.                   _p1, _p2: p_ClipRect;
  41.                   reserved: Long;
  42.  {$if def NEWCLIPRECTS_1_1}
  43.                   Flags: Long;
  44.  {$endif}
  45.                 end;
  46. {$endif}
  47.